<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<head>
    <title>修改书籍</title>

    <%--Bootstrap美化页面--%>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

<div class="container">
    <div class="row clearfix">
        <div class="col-md-12 colum">
            <div class="page-header">
                <h1>
                    <small>修改用户</small>
                </h1>
            </div>
        </div>
    </div>


    <form action="${pageContext.request.contextPath}/user/updateUser" method="post">
        <div class="containe">
            <div class="row clearfix">
                <div class="col-md-12 colum">
                    <%--隐藏域--%>
                    <input type="hidden" name="userID" value="${user.userID}">

                    <div class="form-group" class="row clearfix">
                        <label>用户名称</label>
                        <input type="text" name="userName" value="${user.userName}" required>
                    </div>
                    <div class="form-group" class="row clearfix">
                        <label>年龄</label>
                        <input type="text" name="age" value="${user.age}" required>
                    </div>
                    <div class="form-group" class="row clearfix">
                        <label>性别</label>
                        <input type="text" name="gender" value="${user.gender}" required>
                    </div>
                    <div class="form-group" class="row clearfix">
                        <label>密码</label>
                        <input type="text" name="password" value="${user.password}" required>
                    </div>
                    <div class="form-group" class="row clearfix">
                        <label>email</label>
                        <input type="text" name="email" value="${user.email}" required>
                    </div>
                    <div class="form-group">
                        <input type="submit" value="提交">
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
</body>
</html>
